﻿using System.ComponentModel;

namespace BlazorSerialUpload.Models
{
    public class PowerBoardConfig
    {
        public List<PowerBoardEntry> PowerBoard { get; set; }
    }

    public class PowerBoardEntry
    {
        [DisplayName("COM口")]
        public string UsbLink { get; set; }
        public string SasPcieAddr { get; set; }
        [DisplayName("是否被选中")]
        public bool Checked { get; set; } = true;
        [DisplayName("版本")]
        public string Ver { get; set; } = "";

        /// <summary>
        /// 进度条
        /// </summary>
        [DisplayName("升级进度")]
        public double Progress { get; set; }
    }

}